<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>角色管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../layui-2.3.0/css/layui.css">
    <script type="text/javascript" src="../../layui-2.3.0/layui.js"></script>
    <script type="text/javascript" src="../js/rolemanage.js"></script>
    <style>
        /* 修改table的样式 start */
        .layui-table thead tr{
            background-color: #009688;
            color:white;
        }
        .layui-table-sort .layui-table-sort-asc{
            border-bottom-color: white;
        }
        .layui-table-sort .layui-table-sort-desc{
            border-top-color: white;
        }
        /* 修改table的样式 end */
    </style>

</head>
<body>
<div style="height: 50px;"></div>
<div class="layui-container">
    <div class="layui-row">
        <blockquote class="layui-elem-quote">
            <div class="layui-form" action="">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label" style="width: 100px;">角色名称：</label>
                        <div class="layui-input-inline">
                            <input type="text" name="accountname" id="accountname" autocomplete="off" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">状态：</label>
                        <div class="layui-input-inline">
                            <input type="text" name="username" id="username" autocomplete="off" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline" style="float: right;">
                        <button class="layui-btn layui-btn-normal" id="addBtn"><i class="layui-icon layui-icon-add-circle"></i>新增</button>
                        <button class="layui-btn layui-btn-normal"><i class="layui-icon layui-icon-search"></i>查询</button>
                        <button class="layui-btn layui-btn-normal"><i class="layui-icon layui-icon-refresh"></i>重置</button>
                    </div>
                </div>
            </div>
        </blockquote>
    </div>

    <div class="layui-row"  >
        <table class="layui-hide" id="mytable" lay-filter="operation"></table>
        <!--表格列工具条模板-->
        <script type="text/html" id="barDemo">
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="set">设置</a>
            <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
            <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
        </script>
    </div>
</div>

</body>
<!-- 需要弹出的用户组新增或修改界面 -->
<div class="layui-row" id="addrole" style="display: none;">
    <div class="layui-col-md12">
        <form class="layui-form" id="addUserForm">
            <div class="layui-form-item">
                <label class="layui-form-label" style="width: 100px;">角色名称：</label>
                <div class="layui-input-inline">
                    <input type="text" name="groupname" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label" style="width: 100px;">排序值：</label>
                <div class="layui-input-inline">
                    <input type="text" name="sortvalue" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label" style="width: 100px;">启用状态：</label>
                <div class="layui-input-inline">
                    <input type="radio" name="state" value="1" title="启用" checked>
                    <input type="radio" name="state" value="0" title="废除">
                </div>
            </div>

            <div class="layui-form-item" style="text-align: center;">
                <button type="button" class="layui-btn layui-btn-normal">提交</button>
                <button type="button" class="layui-btn layui-btn-normal">取消</button>
            </div>
        </form>
    </div>
</div>
</html>